export const pageSize = 2

export function getTableData (data, pageNum, size) {
  return data.slice((pageNum - 1) * size, pageNum * size)
}
